package com.itlong.cloud.operate.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * <desc>
 *      运营-开发者日志及操作日志数据访问层接口
 * </desc>
 *
 * @createDate2020/11/9
 **/
@Mapper
@Repository
public interface IOperateTimeTaskDeveloperLogDao {


    /**
     * <desc>
     *      删除3月前开发者访问日志
     * </desc>
     *
     * @param
     * @return 受影响行数
     * @Author Zhu.yj
     * @createDate  2020/11/9
     */
    Integer deleteDeveloperLog();

    /**
     * <desc>
     *      删除3月前登录日志
     * </desc>
     *
     * @param
     * @return 受影响行数
     * @Author Zhu.yj
     * @createDate  2020/11/9
     */
    Integer deleteLoginLog();

    /**
     * <desc>
     *      将3月前的开发者日志迁移到历史数据表中
     * </desc>
     *
     * @param
     * @return
     * @Author Zhu.yj
     * @createDate  2020/11/9
     */
    Integer moveDeveloperLogDataToHistory();

    /**
     * <desc>
     *      将3月前的登录日志迁移到历史数据表中
     * </desc>
     *
     * @param
     * @return
     * @Author Zhu.yj
     * @createDate  2020/11/9
     */
    Integer moveLoginLogDataToHistory();
}
